<xf:html xmlns:xf="http://www.w3.org/2002/xforms">
  <head>
    <title>Mobile Survey</title>
    <xf:model id="MobileSurvey">
      <xf:instance>
        <data>
          <Subject>
            <Age />
            <Gender />
            <Homearea />
          </Subject>
          <Mobile>
            <Brand />
            <Model />
            <Payment />
	    <Services />
	  </Mobile>
          <DataCapture>
	    <EnteredBy />
          </DataCapture>
        </data>
      </xf:instance>
      <xf:bind id="Age" nodeset="/data/Subject/Age" type="xsd:string" />
      <xf:bind id="Gender" nodeset="/data/Subject/Gender" type="xsd:string" />
      <xf:bind id="Homearea" nodeset="/data/Subject/Homearea" type="xsd:string" />
      <xf:bind id="Brand" nodeset="/data/Mobile/Brand" type="xsd:string" />
      <xf:bind id="Model" nodeset="/data/Mobile/Model" type="xsd:string" />
      <xf:bind id="Payment" nodeset="/data/Mobile/Payment" type="xsd:string" />
      <xf:bind id="Services" nodeset="/data/Mobile/Services" type="xsd:string" />
      <xf:bind id="EnteredBy" nodeset="/data/DataCapture/EnteredBy" type="xsd:string" />
    </xf:model>
  </head>
  <body>
    <xf:select1 bind="Age">
      <xf:label>How old are you?</xf:label>
      <xf:hint>Select your relevent age group</xf:hint>
      <xf:item>
        <xf:label>Under 15</xf:label>
        <xf:value>-15</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>15-20</xf:label>
        <xf:value>15-20</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>21-30</xf:label>
        <xf:value>21-30</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>31-45</xf:label>
        <xf:value>31-45</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>46-59</xf:label>
        <xf:value>46-59</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>60 and over</xf:label>
        <xf:value>60+</xf:value>
      </xf:item>
    </xf:select1>
    <xf:select1 bind="Gender">
      <xf:label>Are you male or female?</xf:label>
      <xf:hint>Select 1...</xf:hint>
      <xf:item>
        <xf:label>Female</xf:label>
        <xf:value>Female</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Male</xf:label>
        <xf:value>Male</xf:value>
      </xf:item>
    </xf:select1>
    <xf:input bind="Homearea">
      <xf:label>Where do you live?</xf:label>
    </xf:input>
    <xf:select1 bind="Brand" selection="closed" appearance="full">
      <xf:label>What brand is your phone?</xf:label>
      <xf:hint>Please select from list...</xf:hint>
      <xf:item>
        <xf:label>Nokia</xf:label>
        <xf:value>Nokia</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Sony Ericsson</xf:label>
        <xf:value>Sony Ericsson</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Motorola</xf:label>
        <xf:value>Motorola</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Samsung</xf:label>
        <xf:value>Samsung</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>LG</xf:label>
        <xf:value>LG</xf:value>
      </xf:item>
    </xf:select1>
    <xf:input bind="Model">
      <xf:label>What model is it?</xf:label>
      <xf:hint>leave blank if unsure...</xf:hint>
    </xf:input>
    <xf:select1 bind="Payment" selection="closed" appearance="full">
      <xf:label>Are you contract or pre-paid?</xf:label>
      <xf:item>
        <xf:label>Contract</xf:label>
        <xf:value>Contract</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Pre-paid</xf:label>
        <xf:value>Pre-paid</xf:value>
      </xf:item>
    </xf:select1>
    <xf:select bind="Services" selection="closed" appearance="full">
      <xf:label>Which of these have you used on your phone?</xf:label>
      <xf:hint>more than one option can be selected...</xf:hint>
      <xf:item>
        <xf:label>SMS</xf:label>
        <xf:value>SMS</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>MMS</xf:label>
        <xf:value>MMS</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Email</xf:label>
        <xf:value>Email</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>The Internet</xf:label>
        <xf:value>Internet</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Mxit</xf:label>
        <xf:value>Mxit</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Games</xf:label>
        <xf:value>Games</xf:value>
      </xf:item>
      <xf:item>
        <xf:label>Download new games</xf:label>
        <xf:value>Dnewgames</xf:value>
      </xf:item>
    </xf:select>
    <xf:input bind="EnteredBy">
      <xf:label>Please enter name of data capturer:</xf:label>
      <xf:hint>... Cell-Life username ...</xf:hint>
    </xf:input>
  </body>
</xf:html>